<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <title>业务配置</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all">
  <link rel="stylesheet" th:href="@{/style/custom.css}" media="all">
</head>
<body>

<div class="layui-form" lay-filter="biz-config-form-edit" id="biz-config-form-edit" style="padding: 20px 0 0 0;">
  <input type="hidden" name="id" th:value="${config.id}"/>
  <input type="hidden" name="bizName" th:value="${config.bizName}"/>
  <div class="layui-form-item">
    <label class="layui-form-label">业务名称</label>
    <div class="layui-input-inline">
      <select name="bizCode" id="bizCode" lay-filter="type-select" lay-verify="required">
        <option value="">请选择</option>
        <option th:each="map,idx:${bizKeys}" th:value="${map.key}" th:selected="${map.key eq config.bizCode}" th:text="${map.value}"></option>
      </select>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">流程定义</label>
    <div class="layui-input-inline">
      <select name="procDefKey" lay-filter="type-select" lay-verify="required">
        <option value="">请选择</option>
        <option th:each="map,idx:${defKeys}" th:value="${map.key}" th:selected="${map.key eq config.procDefKey}" th:text="${map.value}"></option>
      </select>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">备注</label>
    <div class="layui-input-inline">
      <textarea name="remark" th:text="${config.remark}" placeholder="请输入内容" class="layui-textarea"></textarea>
    </div>
  </div>
  <div class="layui-form-item layui-hide">
    <input type="button" lay-submit lay-filter="LAY-biz-config-front-submit" id="LAY-biz-config-front-submit" value="确认">
  </div>
</div>

<script th:src="@{/layui/layui.js}"></script>
<script>

</script>
</body>
</html>